I'm trying to show major ticks on the x-axis while using the type: "timeseries" option, but they are not showing.
My x-axis options:
xAxis: {
bounds: "ticks",
grid: {
display: false,
},
type: "time",
time: {
unit: "hour",
stepSize: 3,
displayFormats: {
day: "d. MMM",
hour: "HH:mm",
},
tooltipFormat: "EEEE, MMM dd, HH:mm:ss",
},
adapters: {
date: {
locale: pl,
},
},
ticks: {
maxTicksLimit: 7.1,
// source: "labels",
maxRotation: 0,
major: {
enabled: true,
}
},
}
Without ticks.source: "labels" major ticks are showed. How could I make it work with the source: "labels" option